const { defineConfig } = require('@vue/cli-service')
const MonacoWebpackPlugin=require('monaco-editor-webpack-plugin')

module.exports = defineConfig({
      transpileDependencies: true,
      devServer: {
        proxy: {
          '/': {
            target: 'http://localhost:8800',
            changeOrigin: true,
            ws: false
          }
        }
      },
    configureWebpack:{
        plugins:[new MonacoWebpackPlugin({languages:['java','javascript','css','html','yaml','json','xml','typescript','sql','ini','properties']})]
    }
  }
)
